package com.hanyao.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 寒钥
 * @version 1.0
 */
@RestController
@RequestMapping("/hello")
public class Hello {
    @GetMapping("")
    public String hello(){
        System.out.println("你好世界");
        return "OK";
    }
}
